home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1995 May / PC Direct CD-ROM (May 1995).ISO / ipe / misc / convert / convert.txt < prev    next >
Encoding:
Text File  |  1994-11-01  |  18.5 KB  |  441 lines

  1.  
  2.                                                    06/09/94
  3.                     CONVERT Version 2.0.
  4.                     ____________________
  5.  
  6.   I. CONVERT Help Screen
  7.  
  8.        Usage: CONVERT [options] [<pathname1> <pathname2> <pathname3>]
  9.        Options:
  10.  
  11.          /NETWORK     Check files on network drives for validation data.
  12.          /REMOVE      Remove old validation data.
  13.          /VALIDATE    Replace old validation data by new ones.
  14.  
  15.        <pathname1>    Full path name of ASCII file to convert.
  16.        <pathname2>    Full path name of the old SCAN.
  17.        <pathname3>    Full path name of the new SCAN.
  18.  
  19.     Examples:
  20.      1.CONVERT C:\BAT\CHECK.BAT C:\\OLDSCAN\SCAN.EXE C:\NEWSCAN\SCAN.EXE
  21.      2.CONVERT C:\BAT\CHECK.BAT C:\OLDSCAN\VSHIELD.EXE C:\NEWSCAN\VSHIELD.EXE
  22.      3.CONVERT /NETWORK /VALIDATE
  23.      4.CONVERT /NETWORK C:\AUTOEXEC.BAT D:\MCAFEE\SCAN.EXE D:\PH\SCAN.EXE
  24.  
  25.   II.Description
  26.   _______________
  27.  
  28.           CONVERT is a program developed by McAfee, Inc. to change
  29.           batch files, network login scripts, and other ASCII text
  30.           files used to run VIRUSCAN/VSHIELD  from their old options
  31.           to the new set of option names used by VIRUSCAN/VSHIELD(TM)
  32.           Version 2.0.
  33.  
  34.           CONVERT will read an ASCII text file and search it for
  35.           references to VIRUSCAN/VSHIELD.  When it comes across a
  36.           command to run SCAN/VSHIELD in the file it will replace
  37.           them with a new set of options which match the old options
  38.           as closely as possible.
  39.  
  40.           If you use CONVERT to convert any ASCII file it needs to
  41.           be run with:
  42.               a) the name of the batch file, network login script,
  43.                  or other ASCII text file to be changed;
  44.               b) the full pathname of the old SCAN;
  45.               c) the full pathname of the new SCAN;
  46.  
  47.           In this case using any options is optional.
  48.  
  49.           CONVERT will automatically save the original ASCII file with
  50.           the .OLD extension.
  51.  
  52.           Each time CONVERT finds a SCAN/VSHIELD option, it will inform
  53.           the user about the changes made. CONVERT will check the presence
  54.           of some options ( Tabl 2 ) and add any needed options. After
  55.           CONVERT has  examined the text file, it will  allow you to review
  56.           the changes before writing the changed file to disk.
  57.  
  58.           CONVERT can be used as a separate utility to check all local
  59.           drives ( default ) and all network ( /NETWORK ) for old
  60.           validation data, remove them, and add the new validation
  61.           data.  In this case you do not have to specify any path names
  62.           on CONVERT command line ( Example #3 );
  63.  
  64.   III.Options
  65.   ____________
  66.  
  67.      1. If  /REMOVE option specified CONVERT will check all files
  68.         on all local drives for validation data added by old SCAN with
  69.         either /AG or /AV option and remove them.
  70.  
  71.      2. If  /VALIDATE option specified CONVERT will check all files on
  72.         all local drivers for old validation data, remove them and add
  73.         the new validation data ( 98 bytes ).
  74.  
  75.      3. /VALIDATE and /REMOVE are incompatible options. If both of them
  76.         specified on command line CONVERT will give an error message.
  77.  
  78.      4. If /NETWORK option specified all network and local drives will
  79.         be checked. This option requers another option or pathes to be
  80.         specified on CONVERT command line.
  81.  
  82.   IV. How CONVERT manages some situations
  83.   _______________________________________
  84.  
  85.    1. CONVERT adds to the new SCAN/VSHIELD command line information
  86.       from old SCAN/VSHIELD command line found before file name of
  87.       the old SCAN/VSHIELD.
  88.  
  89.       For example : # d:\mcafee\scan   ->  # d:\phoenix\scan.exe
  90.                     @scan...           ->  @d:\newscan\scan...
  91.                     # command scan...  ->  # command d:\newscan\scan...
  92.  
  93.    2. If VSHIELD command line was converted CONVERT starts looking
  94.       for a reference to CHKSHLD. If it was found CONVERT changes the
  95.       name to CHKVSHLD and gives the following message:
  96.  
  97.       WARNING:  Converted file contains a reference to CHKSHLD.
  98.                 This name will be changed to CHKVSHLD.
  99.  
  100.    3. If SCAN command line was converted CONVERT starts looking
  101.       for any refernces to the old SCAN errorlevels. It checks
  102.       8 next lines for it. If the reference found CONVERT comments
  103.       the line and gives the message:
  104.  
  105.       IF ERRORLEVEL 1 GOTO VIRUS
  106.       WARNING:  This line contains a reference to the old SCAN
  107.                 errorlevel and will be commented.
  108.                 Errorlevels of the new SCAN are different.
  109.                 See your user manual for more information.
  110.  
  111.       As a result the following line will be written:
  112.  
  113.       rem IF ERRORLEVEL 1 GOTO VIRUS
  114.  
  115.    6. If /AV option on SCAN command line contains <filename>
  116.       CONVERT will add /EXCLUDE option and give the message:
  117.  
  118.       /EXCLUDE    Option is added to the new SCAN command line.
  119.                   This option allows to exclude files listed in
  120.                   specified after /EXCLUDE file from adding
  121.                   validation information by SCAN with /AV option.
  122.  
  123.       Example:
  124.               Old line: ...scan /av d:\mcafee\excl.dat...
  125.               New line: ...SCAN /AV /EXCLUDE D:\MCAFEE\EXCL.DAT...
  126.  
  127.    7. If either /RV or /RG was found  on the old SCAN command line
  128.       CONVERT will check ( by default ) all local drives and remove
  129.       old validation data.
  130.  
  131.       7.1. If /NETWORK option was specified on CONVERT command line
  132.            in additional all network drives will be processed the same
  133.            way.
  134.       7.2. If /VALIDATE option was specified on CONVERT command line
  135.            CONVERT will replace old validation data with the new ones.
  136.            It means that priority of CONVERT options is higher.
  137.  
  138.    8. If /CV was found  on the old SCAN/VSHIELD command line
  139.       CONVERT will check ( by default ) all local drives, remove
  140.       old validation data, and add the new validation data ( 98 bytes ).
  141.  
  142.       8.1. If /NETWORK option was specified on CONVERT command line
  143.            in additional all network drives will be processed the same
  144.            way.
  145.       8.2. If /REMOVE option was specified on CONVERT command line
  146.            CONVERT will ONLY  remove old validation data.
  147.            It means that priority of CONVERT options is higher.
  148.  
  149.    9. If /CG was found  on the old SCAN/VSHIELD command line
  150.       CONVERT will check ( by default ) all local drives, and remove
  151.       old validation data.
  152.  
  153.       9.1. If /NETWORK option was specified on CONVERT command line
  154.            in additional all network drives will be processed the same
  155.            way.
  156.       9.2. If /VALIDATE option was specified on CONVERT command line
  157.            CONVERT will replace the old validation data with the new
  158.            ones.
  159.            It means that priority of CONVERT options is higher.
  160.  
  161.    10. All information displayed on the screen is written into
  162.       report file CONVERT.RPT by default. If you run CONVERT
  163.       several times all new reports will be appended to the
  164.       previous ones.
  165.  
  166.  
  167.   V. Messages
  168.   ____________
  169.  
  170.               Messages for converting SCAN command line
  171.                                                             Table 1
  172.  _________________________________________________________________________
  173.  Old Scan    New Scan         Action / Explanation
  174.  options     options
  175.  _________________________________________________________________________
  176.  
  177.  /A         Default         Removed from the SCAN command line.
  178.                             This option is no longer needed.
  179.                             All files are scanned for viruses default.
  180.  
  181.  /AD        /ADL /ADN       Replaced by /ADL /ADN options.
  182.                             This option is nolonger used.
  183.  
  184.  /ADL       /ADL            Transferred with no chanege.
  185.  
  186.  /ADN       /ADN            Transferred with no change.
  187.  
  188.  /AF        /AF             Transferred with no change.
  189.  
  190.  /AG        /AG             Removed from the SCAN command line.
  191.                             This option is no longer used.
  192.                             Use of the SCAN 2.0  /AF, /CF, and /RF options
  193.                             is recommended.
  194.  
  195.  /AV        /AV             Transferred with no changes.
  196.  
  197.  /BELL      None            Removed from the SCAN command line.
  198.                             This option is no longer used.
  199.                             Please see your user manual for more information.
  200.  
  201.  /BMP       None            Removed from the SCAN command line.
  202.                             This option is no longer needed.
  203.                             The OS/2 Boot Manager Partition is scanned
  204.                             by default.
  205.  
  206.  /CERTIFY   /CERTIFY        Removed from the SCAN command line.
  207.                             This option is not implemented yet.
  208.  
  209.  /CF        None            Removed from the SCAN command line.
  210.                             This option should be used only after running
  211.                             the SCAN 2.0 with /AF option.
  212.                             Please see your user manual for more information.
  213.  
  214.  /CG        None            Removed from the SCAN command line.
  215.                             Option is no longer used.
  216.                             Use of the SCAN 2.0 /AF, /CF, /RF options is
  217.                             recommended.
  218.                             Old validation data will be removed.
  219.  
  220.  /CHKHI     Default         Removed from the SCAN command line.
  221.                             This option is no longer needed.
  222.                             High memory is scanned for viruses by default.
  223.  
  224.  /CV        None            Removed from the SCAN command line.
  225.                             Old validate data will be replaced by new ones.
  226.                             Please see your user manual for more information.
  227.  
  228.  /D         /DEL            Replaced by the /DEL option.
  229.  
  230.  /DATE      /LOG            Replaced by the /LOG option.
  231.  
  232.  /EXT       None            Removed from the SCAN command line.
  233.                             This option is no longer used.
  234.                             We support more friquent updates of external
  235.                             data file.
  236.  
  237.  /HISTORY   /APPEND         Replaced by the /APPEND option.
  238.  
  239.  /M         None            Removed from the SCAN command line.
  240.                             This option is no longer used.
  241.                             Memory is scanned for viruses by default.
  242.  
  243.  /MAINT     None            Removed from the SCAN command line.
  244.                             This option is no longer needed.
  245.                             Corrupted boot sectors are scanned by default.
  246.  
  247.  /NLZ       None            Removed from the SCAN command line.
  248.                             This option is not implemented yet.
  249.  
  250.  /NOBREAK   /NOBREAK        Transfrred with no change.
  251.  
  252.  /NOEXPIRE  None            Removed from the SCAN command line.
  253.                             This option is not implemented yet.
  254.  
  255.  /NOMEM     /NOMEM          Transferred with no change.
  256.  
  257.  /NOPAUSE   None            Removed from the SCAN command line.
  258.                             This option is no longer needed.
  259.                             SCAN dispays messages without pousing by default.
  260.  
  261.  /REPORT    /REPORT         Transfered with no change.
  262.  
  263.  /RF        None            Removed from the SCAN command line.
  264.                             This option should be used only after running
  265.                             the SCAN 2.0.with /AF option.
  266.                             Please see your user manual for more information.
  267.  
  268.  /RG        None            Removed from the SCAN command line.
  269.                             This option is no longer used.
  270.                             Use of the SCAN 2.0 /AF, /CF, /RF options is recommended.
  271.                             Old validation data will be removed.
  272.  
  273.  /RV        None            Transferred with no change.
  274.                             Old validation data will be removed.
  275.  
  276.  /SAVE      None            Option removed from SCAN command line.
  277.                             Option is no longer used.
  278.                             Use any editor to create a file containing SCAN options
  279.                             and specify that file with  /LOAD option.
  280.  
  281.  /SHOWDATE  /LOG            Replaced by the /LOG option.
  282.  
  283.  /SUB       /SUB           Transferred with no change.
  284.  
  285.  @          /LOAD          Replaced by the /LOAD option.
  286.                            Note: Files created for the old @ option require
  287.                            minor formatting changes to work with the new
  288.                            /LOAD option.
  289.  ____________________________________________________________________________
  290.  
  291.  
  292.          Messages for adding some option to the new SCAN          Table 2
  293.  _________________________________________________________________________
  294.  Old Scan    New Scan         Action / Explanation
  295.  options     options
  296.  not found   to add
  297.  _________________________________________________________________________
  298.  
  299.  
  300.  /A         /STD           Option not found on old SCAN command line.
  301.                            /STD option added to the SCAN 2.0 command line.
  302.  
  303.  /NOPAUSE   /PAUSE         Option not found on old SCAN command line.
  304.                            /PAUSE option added to the SCAN 2.0 command line.
  305.  
  306.  __________________________________________________________________________
  307.  
  308.  
  309.               Messages for converting VSHIELD                      Table 3
  310.  _________________________________________________________________________
  311.  Old Vshield   New Vshield      Action / Explanation
  312.  options       options
  313.  _________________________________________________________________________
  314.  
  315.  /ACCESS       /ANYACCESS     Replaced by /ANYACCESS options.
  316.                               This option is no longer used.
  317.  
  318.  /BOOT         /BOOTACCESS    Replaced by /BOOTACCESS option.
  319.                               This option is no longer used.
  320.  
  321.  /CERTIFY      /CERTIFY       Removed from the VSHIELD command line.
  322.                               This option should be used only after running
  323.                               SCAN 2.0 with either the /AF or /AV option.
  324.                               Please see your user manual for more information.
  325.  
  326.  /CF           None           Removed from the VSHIELD command line.
  327.                               This option should be used only after running
  328.                               SCAN 2.o with the /AF option.
  329.                               Please see your user manual for more information.
  330.  
  331.  /CG           None           Removed from the VSHIELD command line.
  332.                               Option is no longer used.
  333.                               Use of the SCAN 2.0 /AF, /CF, /RF options is
  334.                               recommended.
  335.                               Old validation data will be removed.
  336.  
  337.  /CHKHI        None           Removed from the VSHIELD command line.
  338.                               This option is no longer needed.
  339.                               High memory is scanned for viruses by default.
  340.  
  341.  /CONTACT      /CONTACT       Transferred with no change.
  342.  
  343.  /COPY         /ANYACCESS     Replaced by the /ANYACCESS options.
  344.                               This option is no longer used.
  345.  
  346.  /CV           None           Transferred with no changes.
  347.                               Old validation data will be removed.
  348.  
  349.  /IGNORE       /IGNORE        Transferred with no change.
  350.  
  351.  /LH           None           Removed from the VSHIELD command line.
  352.                               This option is no longer needed.
  353.                               VSHIELD is loaded into UMB by default.
  354.  
  355.  /LOCK         /LOCK          Transferred with no changes.
  356.  
  357.  /M            None           Removed from the VSHIELD command line.
  358.                               This option is no longer used.
  359.                               Memory is scanned for viruses by default.
  360.  
  361.  /NB           None           Removed from the VSHIELD command line.
  362.                               This option is no longer used.
  363.  
  364.  /NI6510       None           Removed from the VSHIELD command line.
  365.                               This option is no longer used.
  366.  
  367.  /NOBREAK      None           Removed from the VSHIELD command line.
  368.                               This option is no longer needed.
  369.                               VSHIELD disables Ctrl-Break by default.
  370.  
  371.  /NOCONT       None           Removed from the VSHIELD command line.
  372.                               This option is no longer used.
  373.  
  374.  /NODISK       None           Removed from the VSHIELD command line.
  375.                               This option is no longer used.
  376.  
  377.  /NOFLOPPY     None           Removed from the VSHIELD command line.
  378.                               This option is no longer used.
  379.  
  380.  /NOEMS        /NOEMS         Transferred with no change.
  381.  
  382.  /NOMEM        /NOMEM         Transferred with no changes.
  383.  
  384.  /NOREMOVE     /NOREMOVE      Transferred with no change.
  385.  
  386.  /ONLY         /ONLY          Transferred with no change.
  387.  
  388.  /RECONNECT    /RECONNECT     Transferred with no change.
  389.  
  390.  /SAVE         /SAVE          Transferred with no change.
  391.  
  392.  /SWAP         /SWAP          Transferred with no change.
  393.  
  394.  /F                           Removed from the VSHIELD command line.
  395.                               This option is no longer used.
  396.  
  397.  /WINDOWS                     Removed from VSHIELD command line.
  398.                               Option is no longer used.
  399.  
  400.   VI. Error Messages
  401.   __________________
  402.  
  403.    1. If the new SCAN/VSHIELD pathname and the old SCAN pathname
  404.       are identical CONVERT gives an error message:
  405.  
  406.          <pathname1> and <pathname2> are identical.
  407.  
  408.    2. If unknown for old SCAN option specified CONVERT gives an
  409.       error message:
  410.  
  411.          Invalid option: <option>
  412.  
  413.       and skips the line containing invalid option.
  414.  
  415.    3. If the file(s) specified on CONVERT command line does not exist
  416.       CONVERT gives an error message:
  417.  
  418.          <pathname> not found.
  419.  
  420.    4. If no pathes were specified on CONVERT command line and only
  421.       one option /NETWORK was specified CONVERT gives the messae:
  422.  
  423.          Option /NETWORK is used incorrectly.
  424.          This option requires more arguments on CONVERT command line.
  425.  
  426.    5. If /VALIDATE and /REMOVE options are specified in the same command
  427.       line CONVERT gives the error message:
  428.  
  429.           Incompatible options: /REMOVE /VALIDATE
  430.  
  431.  
  432.  
  433.  
  434.  
  435.       VALIDATION CODES FOR INCLUDED PROGRAMS:
  436.  
  437.  
  438. CONVERT  EXE     81420  07-21-94   8:27a   709C   B83B
  439. VALIDATE EXE     15958  03-31-94  12:41p   6371   071A
  440. OS2VAL   EXE     51264  04-01-94   9:06p   90A5   1A25
  441.